﻿using System;

namespace jSLCore.Client.Presentation.jBinding
{
    public class GenericEventArgs<T>:EventArgs
    {
        public GenericEventArgs()
        {

        }

        public GenericEventArgs(T parameter)
        {
            Parameter = parameter;
        }

        public T Parameter { get; set; }
    }

    public class GenericEventArgs2<T1,T2> : EventArgs
    {
    
        public GenericEventArgs2()
        {

        }

        public GenericEventArgs2(T1 parameter1,T2 parameter2)
        {
            Parameter2 = parameter2;
            Parameter1 = parameter1;
        }

        public T1 Parameter1 { get; set; }
        public T2 Parameter2 { get; set; }
        
    }
}